package org.yohann.ai.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.yohann.ai.provider.ReplyEmailProvider;

import java.util.List;

@Slf4j
@Service
public class ReplyEmailService {

    public List<String> getAllEmailType() {
        log.info("getAllEmailType");
        return ReplyEmailProvider.getAllEmailType();
    }

    public String getEmailTemplate(String emailType) {
        log.info("getEmailTemplate: " + emailType);
        return ReplyEmailProvider.getEmailTemplate(emailType);
    }

    public void replyEmail(String email, String content) {
        log.info("replyEmail: {}\n{}", email, content);
    }

    public void createTicket(String userId, String content) {
        log.info("createTicket: {}\n{}", userId, content);
    }
}
